<template>
	<view class="add" :style="'right:'+ size.right + '; bottom:' + size.bottom" @tap="addTie()">
		<view class="addText">+</view>
	</view>
</template>

<script>
	export default {
		name: 'Add',
		props:{
			size: {
				type: Object,
				default() {
					{}
				}
			}
		},
		data() {
			return {
				
			}
		},
		methods:{
			addTie() {
				uni.navigateTo({
					url: "../../pages/home/HomeItem/PutOutTie"
				})
			}
		}
	}
</script>

<style scoped>
	.add {
		position: fixed;
		z-index: 99;
		/* bottom: 32.72rpx; */
		/* right: 40%; */
		width: 145.45rpx;
		height: 145.45rpx;
		background-color: #62A7FF;
		border-radius: 50%;
		box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.3);
	}
	
	.addText {
		font-size: 127.27rpx;
		color: #FFFFFF;
		text-align: center;
		line-height: 127.27rpx;
	}
</style>
